#ifndef __CW32_HAL_FLASH_H_
#define __CW32_HAL_FLASH_H_

#include "cw32_hal_def.h"

#define DMR_FLASH_ADDR_OFFSET(startAddr,offsetAddr)	(startAddr + (offsetAddr * 4))

uint8_t cw32_hal_flash_write_data(uint32_t addr,uint8_t* data,uint32_t len);
void cw32_hal_flash_read_data(uint32_t addr,uint8_t* data,uint32_t len);

#endif


